package com.ruoyi.firststage.mapper;

import com.ruoyi.firststage.domain.Product;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ProductMapper {
    int deleteByPrimaryKey(Integer fid);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Integer fid);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    List<Product> selectProduct(Product product);
}